package com.itheima.design.mode.factory.method;

public class Client {

    public static void main(String[] args) {

        //生产雪糕
        Factory iceCreamFactory = new IceCreamFactory();
        Product product = iceCreamFactory.factory();
        product.product();
    }
}
